/* 头部 */
.head{
    height: 68px;
    width: 100%;
    border-bottom: 1px solid #aec7ec;
    box-sizing: border-box;
    margin-bottom: 50px;
}
/* 头部导航 */
.head-nav{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.head-nav li{
    float: left;
    line-height: 66px;
    font-size: 16px;
    text-align: center;
    margin-right: 38px;
}
.head-nav li a{
    color: #000;
}
.head-nav li:hover{
    border-bottom: 3px solid #00bdff;

}
.head-nav li:hover a{
    color: #00bdff;
}
.head-nav .active{
    border-bottom: 3px solid #00bdff;
}
.head-nav .act{
    color: #00bdff;
}
/* 头部登录按钮 */
.head-login a{
    float: left;
    margin-right: 10px;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    color: #000;
}
.head-login a:hover{
    opacity: 0.7;
}
.head-login .login{
    width: 55px;
    border-radius: 10px;
    border: 2px solid #ccc;

}
.head-login .register{
    width: 74px;
    border-radius: 10px;
    background-color: #ed510a;
    border: 2px solid #ed510a;
    color: #fff;
}

.api .container{
    height: 1500px;
}
.api .api-top button{
    height: 26px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    color: #666;
    padding: 0 15px;
    border-radius: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #fff;
}
.api .api-top button:hover{
    border: 1px solid #00bdff;
    color: #00bdff;
}
.top-inp{
    margin-top: 55px;
    position: relative;
    margin-bottom: 10px;
}
.top-inp .inp-input{
    position: relative;
}
.top-inp input{
    line-height: 30px;
    padding: 0 20px;
    outline: none;
    border: none;
    border-radius: 15px;
    background-color: #f4f4f4;
    color: #666;
}
.top-inp .inp-img{
    position: absolute;
    right: 0px;
    background: #f4f4f4 url(../images/magnifier.png) no-repeat;
    background-position: 15px 6px;
    cursor: pointer;
}

.api-bottom ul li{
    float: left;
    width: 230px;
    height: 270px;
    box-sizing: border-box;
    border: 1px solid #eee;
    margin-right: 10px;
    margin-top: 10px;
}
.api-bottom ul li:nth-child(5n){
    margin-right: 0;
}
.api-bottom ul li{
    padding-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    
}
.api-bottom ul .use{
    position: absolute;
    top: 10px;
    left: 15px;
    color: #00bdff;
    background-color: #e5f8ff;
    line-height: 20px;
    font-size: 12px;
    text-align: center;
    padding: 0 5px;
}
.api-bottom .cont{
    position: relative;
    top: 0px;
    transition: all 1.5s;
}
.api-bottom .cont img{
    margin-bottom: 16px;
}
.api-bottom .cont span{
    display: block;
    font-size: 12px;
}
.api-bottom .cont .free{
    font-size: 16px;
    color: #29c287;
    margin-top: 12px;
}
.api-bottom .cont .free{
    font-size: 16px;
    color: #29c287;
    margin-top: 12px;
}
.api-bottom .cont .charge{
    font-size: 16px;
    color: #ff5483;
    margin-top: 12px;
}
.api-bottom ul li button{
    width: 190px;
    line-height: 32px;
    font-size: 12px;
    color: #fff;
    background-color: #00bdff;
    border: none;
    cursor: pointer;
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 1.5s;
}
/* 鼠标移入效果 */
.api-bottom ul li:hover .cont{
    top: -10px;
}
.api-bottom ul li:hover button{
    bottom: 20px;
    opacity: 1;
}
.api-bottom p{
    margin-top: 45px;
    text-align: center;
}
.api-bottom p a{
    line-height: 24px;
    font-size: 12px;
    margin-right: 20px;
    font-weight: bold;
}
.api-bottom p .on{
    display: inline-block;
    width: 24px;
    color: #fff;
    border-radius: 12px;
    background-color: #00bdff;
}
.api-bottom p .active{
    color: #00bdff;
}
